<?php

/*
Add Update (admin_headlines.php)
*/

$page_title = "Add Update";
$rank_check = 7;
include "../header.inc.php";

$findHeadline = fetch("SELECT * FROM headlines WHERE game = '$game'");

print "$openHTML";

ECHO <<<END

<p>Editing the news headlines is the best way to keep the biggest news on the main page. So whether you're adding new pets, pages, whatever, you can use this to keep the update at the top :) And hey, if you wanna do it tricky, you could probably use this to do featured members, items, etc. Tricky, huh?</p>

<P>
<FORM ACTION="admin_headlines.pro.php?game=$game" METHOD=POST>
   <CENTER><TABLE BGCOLOR="$tableOutline" CELLSPACING=1 CELLPADDING=0 WIDTH=450>
      <TR BGCOLOR="$topAndBottomBG">
         <TD COLSPAN=2>
            <FONT SIZE="-1" COLOR="$topAndBottomText"><b>Headlines:</b></FONT>
         </TD>
      </TR>
      <TR BGCOLOR="$maincellColor">
         <TD HEIGHT=35 width=80>
            <p>Headline 1:</p>
         </TD>
         <TD HEIGHT=35>
            <P>&nbsp;<input type=text name=hl1 size=40 value="$findHeadline[hl1]"></P>
		</TD>
      </TR>
      <TR BGCOLOR="$reallyLight">
         <TD height=35>
            <P>Headline 2:</P>
         </TD>
         <TD height=35>
            <P>&nbsp;<input type=text name=hl2 size=40 value="$findHeadline[hl2]"></P>
         </TD>
      </TR>
      <TR BGCOLOR="$maincellColor">
         <TD height=35>
            <p>Headline 3:</p>
         </TD>
         <TD HEIGHT=35>
            <P>&nbsp;<input type=text name=hl3 size=40 value="$findHeadline[hl3]"></P>
		</TD>
      </TR>
      <TR>
         <TD COLSPAN=2 HEIGHT=30 BGCOLOR="$topAndBottomBG">
            <CENTER><INPUT TYPE=submit NAME=Submit VALUE="Edit Headlines!!"></CENTER>
         </TD>
      </TR>
   </TABLE>
   </CENTER>
</FORM></P>

END;

print "$closeHTML";
?>
